package com.heima.comment.feign;

import com.heima.comment.dto.ApUser;
import com.heima.common.dto.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @Author WSJ
 * @Date 2022-03-29-10:59
 * @Version 1.0 （版本号）
 */
@FeignClient("leadnews-user")
public interface UserFeign {

    @PutMapping("/api/v1/user/image")
    public ResponseResult<ApUser> findImage(@RequestBody Integer id);
}
